<form method="post" action="<?= base_url()."site/login_process/" ?>" >
	<h1>LOGIN</h1>
	<?php if($flashdata != NULL){
		echo "<div class='form-info ".($flashdata['success'] ? 'success' : 'fail')."'>".$flashdata['msg']."</div>";
		}
	?>
	<input type="text" placeholder="username" name="username" />
	<input type="password" placeholder="password" name="password" />
	<input type="submit" value="LOGIN" name="submit" />
</form>